package com.ruoyi.project.system.baseinfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 新生儿基本信息对象 t_newborn_baseinfo
 *
 * @author
 * @date 2021-03-31
 */
public class TNewbornBaseinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 新生儿编号 */
    @Excel(name = "新生儿编号")
    private String newbornNumber;

    /** 新生儿姓名 */
    @Excel(name = "新生儿姓名")
    private String newbornName;

    /** 新生儿性别 1.男 2.女 */
    @Excel(name = "新生儿性别 1.男 2.女")
    private Integer newbornSex;

    /** 所在医院名称 */
    @Excel(name = "所在医院名称")
    private String hospitalName;

    /** 母亲姓名 */
    @Excel(name = "母亲姓名")
    private String momName;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 新生儿体重 kg为单位 */
    @Excel(name = "新生儿体重 kg为单位")
    private BigDecimal newbornweight;

    /** 家属联系方式 */
    @Excel(name = "家属联系方式")
    private String phone;

    /** 家属联系地址 */
    @Excel(name = "家属联系地址")
    private String address;

    /** 母亲身份证 */
    @Excel(name = "母亲身份证")
    private String momIdcard;

    /** 孕次产次 */
    @Excel(name = "孕次产次")
    private Integer pregnancyTimes;

    /** 新生儿检查状态   1.待初检、2.待复检、3.待治疗、4.治疗中、5.治疗结束待复检、6.已结束 */
    @Excel(name = "新生儿检查状态   1.待初检、2.待复检、3.待治疗、4.治疗中、5.治疗结束待复检、6.已结束")
    private Integer status;

    /** 初检结果 */
    @Excel(name = "初检结果")
    private String firstInspectResult;

    /** 复检结果 */
    @Excel(name = "复检结果")
    private String secondInspectResult;

    // 疾病名称
    private String diseaseName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNewbornNumber(String newbornNumber)
    {
        this.newbornNumber = newbornNumber;
    }

    public String getNewbornNumber()
    {
        return newbornNumber;
    }
    public void setNewbornName(String newbornName)
    {
        this.newbornName = newbornName;
    }

    public String getNewbornName()
    {
        return newbornName;
    }
    public void setNewbornSex(Integer newbornSex)
    {
        this.newbornSex = newbornSex;
    }

    public Integer getNewbornSex()
    {
        return newbornSex;
    }
    public void setHospitalName(String hospitalName)
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName()
    {
        return hospitalName;
    }
    public void setMomName(String momName)
    {
        this.momName = momName;
    }

    public String getMomName()
    {
        return momName;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setnewbornweight(BigDecimal newbornweight)
    {
        this.newbornweight = newbornweight;
    }

    public BigDecimal getnewbornweight()
    {
        return newbornweight;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setMomIdcard(String momIdcard)
    {
        this.momIdcard = momIdcard;
    }

    public String getMomIdcard()
    {
        return momIdcard;
    }
    public void setPregnancyTimes(Integer pregnancyTimes)
    {
        this.pregnancyTimes = pregnancyTimes;
    }

    public Integer getPregnancyTimes()
    {
        return pregnancyTimes;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setFirstInspectResult(String firstInspectResult)
    {
        this.firstInspectResult = firstInspectResult;
    }

    public String getFirstInspectResult()
    {
        return firstInspectResult;
    }
    public void setSecondInspectResult(String secondInspectResult)
    {
        this.secondInspectResult = secondInspectResult;
    }

    public String getSecondInspectResult()
    {
        return secondInspectResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("newbornNumber", getNewbornNumber())
            .append("newbornName", getNewbornName())
            .append("newbornSex", getNewbornSex())
            .append("hospitalName", getHospitalName())
            .append("momName", getMomName())
            .append("birthday", getBirthday())
            .append("newbornweight", getnewbornweight())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("momIdcard", getMomIdcard())
            .append("pregnancyTimes", getPregnancyTimes())
            .append("status", getStatus())
            .append("firstInspectResult", getFirstInspectResult())
            .append("secondInspectResult", getSecondInspectResult())
            .toString();
    }

    public String getDiseaseName() {
        return diseaseName;
    }

    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }
}
